]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
ci: Include tests/ for linting
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 13 Jul 2023 20:02:35 +0000 (22:02 +0200)
committerEvan Welsh <contact@evanwelsh.com>
Sat, 15 Jul 2023 02:35:56 +0000 (02:35 +0000)
Linting isn't exclusively about coding style, but can detect
actual bugs.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2822>

.gitlab-ci/run-eslint

index 5d0e41c8e131ce3bced07b8ba1d69d1275d6d00d..276a542f57c3566ec5abcea5c1e11cc4d64faf04 100755 (executable)
@@ -105,7 +105,7 @@ function getOption(...names) {
     const remote = getOption('--remote') || 'origin';
     const branch = getOption('--branch', '-b');
 
-    const sources = ['js', 'subprojects/extensions-app/js'];
+    const sources = ['js', 'subprojects/extensions-app/js', 'tests'];
     const regular = createConfig('regular');
 
     const ops = [];